package cn.group01.git.service;

import cn.group01.git.common.ResponseResult;
import cn.group01.git.dto.AgentDTO;
import cn.group01.git.entity.Agent;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author: 加瓦程序员小鹏
 * @Date: 2023/7/11
 * @Description: 代理商业务层接口
 */

public interface AgentService {

    ResponseResult getList(AgentDTO agentDTO);

    ResponseResult addAgent(Agent agent);

    Agent getById(String agentId);

    ResponseResult editAgent(Agent agent);

    ResponseResult delete(Integer[] ids);
    List<Agent> selectList();

    ResponseResult batchAdd(MultipartFile file);
}
